using WebKit;
using System;

namespace Vortex
{
	
	
	public class WebKitNotebook : Gtk.Notebook
	{ 

		public WebKitNotebook ()
		{
			newTab();
			ShowAll();
		}
		public void newTab()
		{
			WebView newpage = new WebView();
			newpage.Open(Vortex.MainFrame.Home);
			Gtk.Label TabLabel = new Gtk.Label(newpage.MainFrame.Title);	
			this.AppendPage(newpage, TabLabel);
		}
		public void Navigate(string URL)
		{
			Console.WriteLine (CurrentPageWidget.ToString());
		}
	}
}
